package com.tensquare.article.repository;
/*
 *ClassName:CommentRepository
 *Description:
 *@author:可爱的大鸭子
 */

import com.tensquare.article.pojo.Comment1;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CommentRepository extends MongoRepository<Comment1, String> {
    //根据文章id查询评论列表
    List<Comment1> findByArticleid(String articleId);
}
